import {getAboutWindow} from "./browser-windows/AboutWindow";

const {Menu} = require('electron');

export const setApplicationMenu = () => {
    Menu.setApplicationMenu(Menu.buildFromTemplate([
        {
            label: 'ApplicationMenu',
            submenu: [
                {
                    label: 'About',
                    click: () => {
                        getAboutWindow()
                    }
                },
                {label: 'Quit'}
            ]
        }
    ]))
}
